﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using CashFlow.ShopManage.Def;
using CashFlow.Db.Entity;

namespace CashFlow.ShopManage.Service
{
    public interface IShopUserService : IService<ShopUserEntity>
    {
        IList<UserInfoAndReferenceUserInfo> QueryShopAllUsersByShopManagerUserId(
            int shopManagerUserId);

        IList<int> QueryShopAllUserIdsByShopManagerUserId(int shopManagerUserId);

        bool IsUserBelongsShop(int userId, int shopManagerUserId);
    }
}
